package dd.prog2.exercises.set02.sequenses;
/*
 * lässt nur gerade Zahlen passieren
 */
public class Evens extends Filter {

	public Evens(Sequence s) {
		this.s = s;
	}

	@Override
	boolean testPassCondition(int element) {
		if (element % 2 == 0)
			return true;
		return false;
	}

}
